<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2667. 创建 Hello World 函数</title>
</head>

<body>

</body>

<script>
    /**
     * @return {Function}
     */
    var createHelloWorld = function () {

        return function (...args) {
            return "Hello World";
        }
    };

    /**
     * const f = createHelloWorld();
     * f(); // "Hello World"
     */
</script>

</html>